

import { createStore, combineReducers, applyMiddleware, compose } from "redux";
import logger from "redux-logger"
import thunk from "redux-thunk"

import app from "./modules/app";
import user from "./modules/user";

const reducer = combineReducers({
  app,
  user
})

const store = createStore(reducer, compose(applyMiddleware(thunk), applyMiddleware(logger)))

export default store;